﻿using Domain.Entity.Config;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.Repository.IConfig
{
    /// <summary>
    /// 简历管理
    /// </summary>
    public interface IEngage_resumeRepository
    {
        // 查询
        Task<Engage_resume> GetERByNameAsync(int Id);

        // 添加
        Task<bool> AddERAsync(Engage_resume er);

        // 修改
        Task<bool> UpdateERAsync(Engage_resume er);

        // 删除
        Task<bool> DeleteERAsync(int Id);


        ERFenYE DateERSAsync(int page, int pageSize, int zt);
        Task<bool> UpdateERSAsync(Engage_resume er);
        ERFenYE DateERSSAsync(string Human_major_kind_id, string Human_major_id, string gzc, DateTime startDate, DateTime endDate, int page, int pageSize, int zt, int zt1);


        Task<bool> UpdateERApplicationAsync(Engage_resume er);
        Task<bool> UpdateERApprovalAsync(Engage_resume er);
        ERFenYE DateERAsync(string Human_major_kind_id, string Human_major_id, string gzc, DateTime startDate, DateTime endDate, int page, int pageSize, int zt);
    }
}
